package com.aaa.wash.service;

import com.aaa.common.entity.UserIntegral;
import com.aaa.common.util.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @ FileName: RemoteUserIntegralService
 * @ Description:
 * @ Author:  STB
 * @ CreateTime: 2025/10/15 0015 15:11
 * @ Version: 1.0.0
 */
@FeignClient(name = "VipService", contextId = "RemoteUserIntegralService")
public interface RemoteUserIntegralService {
    @PostMapping("/userIntegral/add")
    Result add(@RequestBody UserIntegral userIntegral);

    @GetMapping("/userIntegral/selectJiFenUseStoreId")
    Result selectJiFenUseStoreId(@RequestParam("userId") Integer userId,
                                 @RequestParam("storeId") Integer storeId);
}
